Set Slideway State and Version
Function:
magicbox.set_device_withl(enable, version)
Description: set on/off state and version of slideway
Required parameter:
- enable: enable the slideway, True: enable; False: disable
- version: version of slideway. 0: V1 version; 1: V2 version
Return:
- True: The command has been finished.
- False: The command has not been finished.
Example
magicbox.set_device_withl(enable=True, version=0)Enable the slideway, and set the version to V1.